#ifndef XLCORETYPES_H
#define XLCORETYPES_H
#include <functional>
#include <QtCore/qglobal.h>

#if defined(XLCORE_SHARED_LIBRARY)
#if defined(XLCORE_LIBRARY)
#define XLCORESHARED_EXPORT Q_DECL_EXPORT
#else
#define XLCORESHARED_EXPORT Q_DECL_IMPORT
#endif
#else
#define XLCORESHARED_EXPORT
#endif

namespace xl {

using ResolveCallback = std::function<void()>;
using RejectCallback = std::function<void()>;

} // namespace xl

#endif // XLCORETYPES_H
